package org.yong.springbootcmd;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
//@EnableTransactionManagement // 注解事物
//@EnableScheduling // 任务调度
//@EnableAsync // 异步调用
@ComponentScan(
  basePackages = {
    "org.yong.springbootcmd.service",
    "org.yong.springbootcmd.service.impl",
    "org.yong.springbootcmd.config",
    "org.yong.springbootcmd.web.controller",
    "org.yong.springbootcmd.web.ws",
  })
//@MapperScan(basePackages = {"c.g.mapper"})
//@ServletComponentScan("c.g.web.filter")
public class SpringbootRemoteCmdApplication {

  public static void main(String[] args) {
    SpringApplication.run(SpringbootRemoteCmdApplication.class, args);
  }

}
